import Axios from "axios"

const api = {


    async getOrderList({
        type
    }) {
        let res = await Axios.get('/api/getOrderList', {
            type:type
        })
        return res.data
    },
    
    async getUser() {
        let res = await Axios.get('/api/user')
        return res.data
    },
    
}

export default api